<#ftl encoding="UTF-8" />
            <form id="form_data" class="form__data_content" autocomplete="off">
                <!-- 客户所处客户组 -->
                <div id="panelTop" style="position:relative; height:50px; border-bottom: 1px solid #ddd; background-color:#fff;">
                    <div id="btnPanel_01" style="position:absolute; display:inline-block; top:12px; left: 8px; width:auto; padding:0px;">
                        <button type="button" name="_ButBack" id="ButBack" class="act__button" onclick="_InstancePageHeader.DoBack();"><i class="fa-all fa-1x fa-reply" style="margin-right:3px;"></i>返回</button>
                        <button type="button" name="_ButNew" id="ButNew" class="act__button" onclick="_InstancePageHeader.New();"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                        <button type="button" name="_ButSave" id="ButSave" class="act__button" onclick="_InstancePageHeader.Save();"><i class="fa-all fa-1x fa-save" style="margin-right:3px;"></i>保存</button>
                    </div>
                    <div id="rec_position" style="position:absolute; display:inline-block; right:80px; top:18px; width:auto;">
                        <span id="rec_cur_row">15</span> / <span id="rec_total_rows">15</span>
                    </div>
                    <div class="panel__toolbar" style="position:absolute; display:inline-block; top:12px; right:20px;">
                        <div class="panel__toolbar_item">
                            <button type="button" class="toolbar__button" name="_ButPrev" id="ButPrev" title="前一条" onclick="_InstancePageHeader.PrevRecord();"><i class="fa-all fa-1x fa-angle-left" style="margin-right:3px;"></i></button>
                        </div>
                        <div class="panel__toolbar_item" disabled="disabled">
                            <button type="button" class="toolbar__button" name="_ButNext" id="ButNext" title="后一条" onclick="_InstancePageHeader.NextRecord();"><i class="fa-all fa-1x fa-angle-right" style="margin-right:3px;"></i></button>
                        </div>
                    </div>
                </div>
                <div class="data__table_wrapper">
                    <table class="data__table">
                        <colgroup>
                            <col style="width: 9%;" />
                            <col style="width: 17%;" />
                            <col style="width: 9%;" />
                            <col style="width: 17%;" />
                            <col style="width: 7%;" />
                            <col style="width: 17%;" />
                            <col style="width: 7%;" />
                            <col />
                        </colgroup>
                        <tbody>
                            <tr>
                                <td class="td__label">
                                    <label for="GroupNo">客户组编号<em>★</em></label>
                                </td>
                                <td>
                                    <input type="text" id="GroupNo" name="_GroupNo" tabindex="1" />
                                </td>
                                <td class="td__label">
                                    <label for="GroupName">客户组名称<em>★</em></label>
                                </td>
                                <td colspan="5">
                                    <input type="text" id="GroupName" name="_GroupName" tabindex="2" style="width:100%;" />
                                </td>
                            </tr>
                            <tr>
                                <td class="td__label" style="vertical-align:top; padding-top:8px;">
                                    <label for="Description">描述</label>
                                </td>
                                <td colspan="7">
                                    <textarea class="area" id="Description" name="_Description" rows="4" tabindex="3" style="height:70px; width:100%; resize:none;"></textarea>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </form>
            <input id="Action" type="hidden" value="<#if action?exists>${action}<#else>0</#if>" />
            <input id="GroupId" type="hidden" value="<#if groupId?exists>${groupId}<#else>0</#if>" />

            <!-- 明细部分 -->
            <div id="panelSlave" class="area__slave" style="position:relative; top:0;">
                <!-- 折叠标记 -->
                <div id="hPanelSplitter" title="隐藏主表"><i class="fa-all fa-angle-double-up"></i></div>
                <!-- 明细内容 -->
                <ul id="tabPanelHeader" class="tabstrip" style="top:0px; width:100%">
                    <li id="menu_01" class="tabInactive" style="margin-left:25px;">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_01">分组所属用户</abbr></span></span>
                        </div>
                    </li>
                    <li id="menu_02">
                        <div>
                            <span class="tab_stretch"><span class="tabtext"><abbr class="ls_02">分组所属客户</abbr></span></span>
                        </div>
                    </li>
                </ul>
                <div id="tabPanelData" class="tab__wrapper" style="top:0; height:auto;">
                    <div id="tabWrapper_01" class="tab__content" style="padding-top:5px; width:100%;">
                        <div id="panelSlaveButton" style="clear:both; position:relative; top:3px; padding-left:8px; z-index:+1;">
                            <button type="button" name="_ButNewLinesUser" id="ButNewLinesUser" class="act__button act__new" onclick="_InstancePageLinesUser.NewLines($(this));"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                            <button type="button" name="_ButDeleteLinesUser" id="ButDeleteLinesUser" class="act__button act__del" onclick="_InstancePageLinesUser.BatchDeleteLines($(this));"><i class="fa-all fa-1x fa-minus" style="margin-right:5px;"></i>批量删除</button>
                            <span id="search_btn_user" class="search__icon" title="搜索" style="cursor:pointer;">
                                <i class="fa fa-search" style="font-size:20px; position:absolute; top:3px; left:230px;"></i>
                            </span>
                        </div>
                        <div id="panelSlaveData_01" style="position:relative; top:10px; width:100%; padding:0 8px;">
                            <table id="tabHeader01" class="layout display" style="width:100%;">
                                <colgroup>
                                    <col style="width: 22px;" />
                                    <col style="width: 36px;" />
                                    <col style="width: 680px;" />
                                    <col />
                                    <col style="width: 18px;" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th class="cell_choice">
                                            <label class="btn" for="check_all_user"><input id="check_all_user" type="checkbox" onclick="_InstancePageLinesUser.DoCheckAll($(this), '_check_row_01');" /><i></i><span></span></label>
                                        </th>
                                        <th style="text-align:center;">删除</th>
                                        <th>所属部门</th>
                                        <th>用户名</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                            <div id="divD1" class="grid__data_wrapper" style="border-left:none; overflow-y:scroll; width:100%;">
                                <table id="tabData01" class="responsive__table" style="margin-top:-1px; width:100%;">
                                    <colgroup>
                                        <col style="width: 22px;" /> 
                                        <col style="width: 36px;" />
                                        <col style="width: 680px;" />
                                        <col />
                                    </colgroup>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                            <div id="wrapper__navbar_01" class="panel__nav_strip" style="margin-right:8px;">
                                <div style="position:relative; display:inline-block; padding:0px; height:30px; line-height:30px;">
                                    <span id="loading__indicator_01"><i class="fa fa-refresh fa-fw"></i></span>
                                    显示 <select id="page-size_01" onchange="_InstancePageLinesUser.SetPageSize()">
                                        <option value="10">10</option>
                                        <option value="15">15</option>
                                        <option value="20">20</option>
                                    </select> 条 / 页
                                    <span id="page-first_01" class="p_first arrow page-first" data-action="first">首页</span>
                                    <span id="page-previous_01" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                                    <abbr id="page_indicator_block_01" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                                    <span id="page-next_01" class="p_next arrow page-next" data-action="next">下一页</span>
                                    <span id="page-last_01" class="p_last arrow page-last" data-action="last">尾页</span>
                                    <input type="text" id="curr-page_01" class="curr-page" style="margin-left:15px; width:36px;" />
                                    <input type="button" name="btn_goto" id="but_goto_01" value="跳转" class="act__button page-goto" onclick="" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- 分组所属客户 -->
                    <div id="tabWrapper_02" class="tab__content" style="padding-top:5px; width:100%;">
                        <div id="panelSlaveButton_02" style="clear:both; position:relative; top:3px; padding-left:8px; z-index:+1;">
                            <button type="button" name="_ButInsertLinesCustomer" id="ButInsertLinesCustomer" class="act__button act__new" onclick="_InstancePageLinesCustomer.NewLines($(this));"><i class="fa-all fa-1x fa-plus" style="margin-right:3px;"></i>增加</button>
                            <button type="button" name="_ButDeleteLinesCustomer" id="ButDeleteLinesCustomer" class="act__button act__del" onclick="_InstancePageLinesCustomer.BatchDeleteLines($(this));"><i class="fa-all fa-1x fa-minus" style="margin-right:5px;"></i>批量删除</button>
                            <span id="search_btn_customer" class="search__icon" title="搜索" style="cursor:pointer;">
                                <i class="fa fa-search" style="font-size:20px; position:absolute; top:3px; left:230px;"></i>
                            </span>
                        </div>
                        <div id="panelSlaveData_02" style="position:relative; top:10px; width:100%; padding:0 8px;">
                            <table id="tabHeader02" class="layout display" style="width:100%;">
                                <colgroup>
                                    <col style="width: 22px;" />
                                    <col style="width: 36px;" />
                                    <col style="width: 200px;" />
                                    <col />
                                    <col style="width: 18px;" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th class="cell_choice">
                                            <label class="btn" for="check_all_customer"><input id="check_all_customer" type="checkbox" onclick="_InstancePageLinesCustomer.DoCheckAll($(this), '_check_row_02');" /><i></i><span></span></label>
                                        </th>
                                        <th style="text-align:center;">删除</th>
                                        <th>客户编号</th>
                                        <th>客户名</th>
                                        <th></th>
                                    </tr>
                                </thead>
                            </table>
                            <div id="divD2" class="grid__data_wrapper" style="border-left:none; overflow-y:scroll; width:100%;">
                                <table id="tabData02" class="responsive__table" style="margin-top:-1px; width:100%;">
                                    <colgroup>
                                        <col style="width: 22px;" /> 
                                        <col style="width: 36px;" />
                                        <col style="width: 200px;" />
                                        <col />
                                    </colgroup>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                            <div id="wrapper__navbar_02" class="panel__nav_strip" style="margin-right:8px;">
                                <div style="position:relative; display:inline-block; padding:0px; height:30px; line-height:30px;">
                                    <span id="loading__indicator_02"><i class="fa fa-refresh fa-fw"></i></span>
                                    显示 <select id="page-size_02" onchange="_InstancePageLinesCustomer.SetPageSize()">
                                        <option value="10">10</option>
                                        <option value="15">15</option>
                                        <option value="20">20</option>
                                    </select> 条 / 页
                                    <span id="page-first_02" class="p_first arrow page-first" data-action="first">首页</span>
                                    <span id="page-previous_02" class="p_previous arrow page-previous" data-action="previous">上一页</span>
                                    <abbr id="page_indicator_block_02" class="page_indicator_block" _msh_page="1" style="margin:0 10px; width:40px;">1 of 7</abbr>
                                    <span id="page-next_02" class="p_next arrow page-next" data-action="next">下一页</span>
                                    <span id="page-last_02" class="p_last arrow page-last" data-action="last">尾页</span>
                                    <input type="text" id="curr-page_02" class="curr-page" style="margin-left:15px; width:36px;" />
                                    <input type="button" name="btn_goto" id="but_goto_02" value="跳转" class="act__button page-goto" onclick="" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 对组成员用户进行搜索 -->
            <div id="search_02" class="search">
                <div class="search__modal">
                    <div class="search__content search__form">
                        <div class="search__form_header">
                            <h2>设置搜索条件</h2>
                            <div id="search__form_butclose_02">
                                <span title="关闭">×</span>
                            </div>
                        </div>
                        <form id="form_search_02" autocomplete="off">
                            <table>
                                <colgroup>
                                    <col style="width: 110px;" />
                                    <col />
                                </colgroup>
                                <tbody>
                                    <tr>
                                        <td class="td__label"><label class="form__label">用户</label></td>
                                        <td>
                                            <input type="text" id="EmployeeNameFilterValue_02" name="_EmployeeNameFilterValue_02" style="width:300px;" tabindex="4" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <div id="search-strip_02">
                                <input type="button" name="_but_filter_02" value="搜索" id="but_filter_02" class="act__button" tabindex="5" onclick="_InstancePageLinesUser.FetchForPage(1);"/>
                                <input type="button" name="_but_filter_all_02" value="显示全部" id="but_filter_all_02" class="act__button" tabindex="6" onclick="_InstancePageLinesUser.FetchForPageNoFilter();"/>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <!-- 对组成员客户进行搜索 -->
            <div id="search_03" class="search">
                <div class="search__modal">
                    <div class="search__content search__form">
                        <div class="search__form_header">
                            <h2>设置搜索条件</h2>
                            <div id="search__form_butclose_03">
                                <span title="关闭">×</span>
                            </div>
                        </div>
                        <form id="form_search_03" autocomplete="off">
                            <table>
                                <colgroup>
                                    <col style="width: 110px;" />
                                    <col />
                                </colgroup>
                                <tbody>
                                    <tr>
                                        <td class="td__label"><label class="form__label">客户编号</label></td>
                                        <td>
                                            <input type="text" id="CustomerNoFilterValue_03" name="_CustomerNoFilterValue_03" style="width:300px;" tabindex="4" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td__label"><label class="form__label">客户名</label></td>
                                        <td>
                                            <input type="text" id="CustomerNameFilterValue_03" name="_CustomerNameFilterValue_03" style="width:300px;" tabindex="5" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <div id="search-strip_03">
                                <input type="button" name="_but_filter_03" value="搜索" id="but_filter_03" class="act__button" tabindex="6" onclick="_InstancePageLinesCustomer.FetchForPage(1);"/>
                                <input type="button" name="_but_filter_all_03" value="显示全部" id="but_filter_all_03" class="act__button" tabindex="7" onclick="_InstancePageLinesCustomer.FetchForPageNoFilter();"/>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
